Measurement of the efficiency and time resolution of double-gap resistive plate chambers