average mech engineer salary