Ferromagnetic resonance in coupled ultrathin films