Hydrochlorothiazide is used for treating