NYC man stuck between train and platform rescued