Toric Ideals, Polytopes, and Convex Neural Codes