High-order finite element method for atomic structure calculations