Slow left-arm bowler Smith two wickets for 11 runs as England opened the tournament with a win over Bangladesh.