Electrochemical generation of drug metabolites with applications in drug discovery and development