Mechanism and function of deubiquitinating enzymes