ALPGEN, a generator for hard multiparton processes in hadronic collisions