Electrostatic self-assembly of macroscopic crystals using contact electrification