Patterned nanostructure in AgCo/Pt/MgO(001) thin films