The X-Ray Spectral Variability of the Seyfert Galaxy NGC 3227