Cycles of autoubiquitination and deubiquitination regulate the ERAD ubiquitin ligase Hrd1