On the length and area spectrum of analytic convex domains