Polarons in Complex Oxides and Molecular Nanowires