Optical and interfacial electronic properties of diamond-like carbon films