On compactness and cocompactness conditions for R-tors, R-pr and (big) lattices of classes of modules