Insights into specificity and catalytic mechanism of amphotericin B/nystatin thioesterase