The relationship between health beliefs and protective sexual practices