Rate equations for dislocation-free and dislocation-assisted growth of gallum