Accuracy of geometries: influence of basis set, exchange?correlation potential, inclusion of core electrons, and relativistic corrections