Smith makes 38 saves for 40th shutout, Oilers beat Canadiens