Stable triples, equivariant bundles and dimensional reduction