Electrochemical synthesized copper oxide nanoparticles for enhanced photocatalytic and antimicrobial activity