Building Materials from Colloidal Nanocrystal Arrays: Preventing Crack Formation during Ligand Removal by Controlling Structure and Solvation