Study of film thickness in elastohydrodynamic contacts by electrical capacitance