Norway beat Canada 3-2 in overtime to win their first IIHF World Championship bronze, marking their best-ever finish.