Essential selfadjointness of singular elliptic operators