Optical Spectrum of Main-, Inter-, and Off-Pulse Emission from the Crab Pulsar