Electronic, magnetic and photophysical properties of MOFs and COFs: general discussion.