Flow by Gauss curvature to the Aleksandrov and dual Minkowski problems