Residual losses of superconducting thin films of YBa2Cu3O7−δ in the far infrared and microwaves Applications