Time-domain ferromagnetic resonance in epitaxial thin films