Electronic charge density and bonding in two NiAs-type solids: TiS and VS