Roles of interface roughness and internal stress in magnetic anisotropy of CoPt/AlN multilayer films