Water scarcity affects emotions, study says