A former police officer has been jailed after admitting coercive controlling behaviour towards a woman