Amtrak said it had temporarily suspended rail service from Penn Station in New York City and Philadelphia’s main station.