A West Yorkshire Police officer who sexually assaulted a woman and tried to evade justice by deleting his phone contents has been jailed.