Hierarchically CdS–Ag2S nanocomposites for efficient photocatalytic H2 production