Endowments, institutions and capabilities: an application to drinking water, sanitation and hygiene in rural India