Cobalt-containing layered or zeolitic silicates as photocatalysts for hydrogen generation