Simulation of lattice dendrimers by a Monte Carlo technique with detailed balance