Self-Consistent Valence Charge Density of the 1T Layer Compounds TiS2, TiSe2, ZrS2and ZrSe2