THE X-RAY SPECTRUM OF A PLANETARY NEBULA AT HIGH RESOLUTION: CHANDRA GRATINGS SPECTROSCOPY OF BD +30°3639