Compositions containing spiro-condensed pyran compounds or derivatives thereof, as photosensitive substances