f(R)-gravity with torsion: a geometric approach within the J-bundles framework