Gamma-Ray Observations of Cygnus X-1 above 100 MeV in the Hard and Soft States