Ebbsfleet United and FC Halifax Town secure promotion to the National League with play-off final victories.