Specialist courts to deal with rape and sexual offences are to be introduced across England and Wales, the prime minister has said.