A Baptist pastor in California has caused a heated controversy after he applauded the attack on an Orlando gay nightspot on Sunday.