The Hitchin-Kobayashi correspondence, Higgs pairs and surface group representations