Intramolecular energy transfer through linear polyenes. Effect of spacers