Enhanced photocatalytic, antibacterial and magnetic properties of ZnO nanopowders through lattice compatible cobalt doping