Detection of Na, K, and H2O in the hazy atmosphere of WASP-6b