Spectroscopy of two-dimensional hole gases in GaAs-(AlGa)As heterostructures