Impact of edge structures on interfacial interactions and efficient visible-light photocatalytic activity of metal–semiconductor hybrid 2D materials