Linear analysis of naturally curved and twisted anisotropic beams