Homological type of geometric transitions