Effective microwave surface impedance of superconducting films in the mixed state