There have been desperate scenes in Macedonia, where hundreds of migrants have been trying to board a train heading to Serbia.