Characterization and modelling of thin-film ferroelectric capacitors using C-V analysis