Magnetic and Photoluminescent Sensors Based on Metal-Organic Frameworks Built up from 2-aminoisonicotinate