The optical properties of band-gap-modulated diamond-like carbon thin films