Corrections officer accused of sexual relationship with an inmate