Formation of zero-dimensional hole states in Ge/Si heterostructures probed with capacitance spectroscopy