Graded ferroelectric capacitors with robust temperature characteristics