Inertial Effects in Rotational Diffusion in Molecular Liquids and Ferrofluids