The origin of the optical absorption and ESR signal in amorphous carbon and amorphous hydrogenated carbon: a proposed density of states