Gamma-Ray Polarimetry of Two X-Class Solar Flares