The Sums of Rogers, Schur and Ramanujan and the Bose-Fermi correspondence in (1+1)-dimensional quantum field theory