Elliptic regularity and essential self-adjointness of Dirichlet operators on R