Perception of discrimination due to sexual orientation and associated factors among men who have sex with men in 12 Brazilian cities.