The trigger system of the ARGO-YBJ experiment