A certain inorganic compound (A) on heating loses water of crystallisation. On further heating a blackish brown powder (B) and two oxides of sulphur (C&D) are obtained. The powder (B) on boiling with HCl gives a yellow solution (E). When H2S is passed in (E) a white turbidity (F) and an apple green solution (G) is obtained. The solution (E) on treatment with thiocyanate ion gives blood red compound (H). Identify G and H :