Aussie prison guard pleads guilty to relationship with inmate