Self-consistent theory of dendritic growth with convection