Surface impedance of a thin superconducting film in a parallel magnetic field