California sets inmate sex reassignment rules