Temperature-driven spin reorientation transition in CoPt/AlN multilayer films