Both diamond and graphite have giant atomic structures. Explain why diamond is hard while graphite is soft.