Mega Bloks closing Montreal factory