From the Brunn-Minkowski inequality to a class of Poincare' type inequalities