Applications of diamond-like carbon films to electronic components