Photonic hybrid crystals constructed from in situ host-guest nanoconfinement of a light-emitting complex in metal-organic framework pores.