Dry ammonia gas has no action on litmus paper but a solution of ammonia in water turns red litmus paper blue. Why is it so ?