Interplay between oxygen defects and dopants: effect on structure and performance of HfO2-based ferroelectrics | Synapse