Deformations of linear connections and riemannian metrics cohomology of discrete subgroups of semisimple lie groups