Optimal Proportional Cake Cutting with Connected Pieces