C, N dual-doped ZnO nanofoams: a potential antimicrobial agent, an efficient visible light photocatalyst and SXAS studies.