Flexible interlocked porous frameworks allow quantitative photoisomerization in a crystalline solid