Crystal structure of Uba1 in complex with ubiquitin-AMP and thioesterified ubiquitin