A dense crystal without pores generates more electricity than porous ones. — Synthesis