Validity of quasi-static capacitance-voltage measurements applied to hydrogenated amorphous silicon diodes