Bonding in hydrogenated hard carbon studied by optical spectroscopy