Monte Carlo simulation of general hard processes with coherent QCD radiation