Porous hydrogen-bonded organic–inorganic frameworks: weak interactions and selective dye filtration