Photophysics of azobenzene constrained in a UiO metal-organic framework: effects of pressure, solvation and dynamic disorder