Grain growth in ultrathin films of CoPt and FePt