Hydrothermal synthesis of CdO nanoparticles for photocatalytic and antimicrobial activities