Measurement of the surface resistance of YBa2Cu3O7?x thin films using stripline resonators