Is the compound formed in the diagram a molecular compound or an ionic compound?