Quantum-chemical calculation of spectroscopic parameters for rotational spectroscopy