Nonequilibrium phase transitions in models of aggregation, adsorption, and dissociation