Separation of variables and exact solution to the Dirac equation in curvilinear orthogonal coordinates with cylindrical symmetry