Facile synthesis and characterization of ZnO nanoparticles for studying their biological activities and photocatalytic degradation properties toward methylene blue dye