Structural and electronic correlations in hybrid materials : high-pressure behavior, optoelectronic properties, and energy-storage capabilities