Expectation values in one- and two-electron atomic systems