Text this: The Sommerfeld-Watson transformation in teaching condensed matter physics: analytical diagonalization of Fermi gas-like models