Physical States in G Models and 2d Gravity