A police officer who raped two women and carried out a campaign of domestic abuse against a third has been jailed.