First-and Second-Order Convex Programming Scaling Algorithms Applied to Geometric Programming