Sobolev spaces adapted to the Schrödinger operator with inverse-square potential