Photochemical and photophysical investigations on bisphenol-A-epichlorohydrin condensation polymers and model compounds