Disorder, clustering, and localization effects in amorphous carbon