Ferroelectricity in metal-organic frameworks: characterization and mechanisms