The effect of a spaced sex education course on medical students' sexual knowledge and attitudes