Network connectivity and structural defects in a-C:H films