Imam pleads guilty in New York subway bomb plot