Top students more likely to smoke pot, drink alcohol, study says