Substrate and barrier layer considerations in the growth and properties of diamond and diamond-like carbon