Synthesis and characterisation of low band gap polymers for organic photovoltaics and transistors