Greek authorities say more than 2,000 refugees from Syria, Afghanistan and Iraq have crossed into Macedonia from Greece, a day after the border closed down following clashes between migrants.