Catalysis and photocatalysis by metal organic frameworks