Surface resistance, residual losses, and granularity in Ag‐doped YBa2Cu3O7−δ thin films