Synthesis, electronic property and photocatalytic applications of mesoporous cobalt-doped ZnS and ZnO nanoplates