European and Canadian officials have approved plans for the Boeing 737 Max, grounded for almost two years after 346 people died in two crashes, to fly again soon.