Modeling of negatively charged states at the Ge surface and interfaces