The elliptic curved beam finite element for static and dynamic analysis of arches