Metal-organic frameworks as materials for applications in sensors