The chemistry of amide enolates and a study of ester enolate stability