Stable and environmentally friendly perovskite solar cells induced by grain boundary engineering with self-assembled hydrogen-bonded porous frameworks