3 injured in New Jersey train collision