corrections officer having sex with inmate