Structural and energetic properties of molecular Coulomb crystals in a surface-electrode ion trap