Electronic, magnetic, and structural properties of amorphous carbons and the discovery of the fullerenes