Preparation of the Ge(001) surface towards fabrication of atomic-scale germanium devices