An improved model for naturally curved and twisted composite beams with closed thin-walled sections