In-Depth Computational Characterization of the Structure and Dynamics in Covalent Organic Frameworks