Semidefinite Optimization and Convex Algebraic Geometry by