Listening to loud music linked with pot use, unsafe sex, study says