The analog Resistive Plate Chamber detector of the ARGO-YBJ experiment