Theory and application of naturally curved and twisted beams with closed thin-walled cross sections