Spectral analysis of the Crab Pulsar and Nebula with the Fermi Large Area Telescope