NYPD warns of homegrown terror threat