An extended X-ray absorption fine structure study of Mn ultrathin films grown on Cu(100)