Terephthalate and trimesate metal–organic frameworks of Mn, Co, and Ni: exploring photostability by spectroscopy