Optical spectrum of the infrared source IRAS 20004+2955 (V1027 Cyg)