Polariton Effects in the Optical Spectra of Excitonic Molecules