Cooperative effect by a hydroxy and ether oxygen in epoxidation with a peracid