Hydrolysis of imidate esters derived from weakly basic amines. Influences of structure and pH on the partitioning of tetrahedral intermediates