Effect of condom-use measures in predicting sexually transmitted diseases: variation by individual and contextual factors of sexual risk