A female probation officer has admitted having a relationship with an inmate at top security prison HMP Belmarsh.