Optimizing Crossings in Circular-Arc Drawings and Circular Layouts