Torsional effects on the optical properties of PPV and PPP