Stereoselective synthesis of E-64 and related cysteine proteases inhibitors from 2,3-epoxyamides.