andersen was based on the scandinavian folk tale the spirit in the candle