Surface resistance of superconducting films by a microstrip ring resonator technique