Preparation and magnetic properties of CoPt and CoPt:Ag nanocluster films