Epoxidation of olefins in aqueous medium