Convex optimization prototyping for iterative image reconstruction in X-ray CT