Evaluation of a questionnaire to assess selected infectious diseases and their risk factors