A prisoner who bit one prison officer and twice sexually assaulted another has said that all he wants is to go back to a mental health hospital.