The influence of basic need satisfaction on sexual risk behavior