R. Kelly ‘purposely gave’ 17-year-old herpes, court hears