Edinburgh’s Hogmanay has been scaled back as outdoor events were cancelled because of weather warnings amid fears over public safety.