Device near New Jersey train station explodes as FBI investigates