Vigils have been held in cities across the United States after a gunman killed 50 people at a gay nightclub in Orlando, the deadliest shooting in modern US history.