Polarons And Bipolarons In High Tc Superconductors And Related Materials