Layout and performance of RPCs used in the ARGO-YBJ experiment