Preparation of Sm-Ba-Cu-O and Ho-Ba-Cu-O superconducting thin films by magnetron sputtering