Characteristic classes and distortion of diffeomorphisms