A 43-year-old man has been jailed for life, with a minimum term of 23 years, for deliberately infecting sexual partners with HIV and raping some of his victims.