Factors associated with safe sex among public school students in Minas Gerais, Brazil.