Band edges and band gap states by optical absorption and electron spin resonance in amorphous carbon (a-C) and hydrogenated amorphous carbon (a-C:H