Free Electron Network Model for Cyanines and Diphenyl Polyenes