Very high energy gamma-ray astronomy and cosmic ray physics with the ARGO-YBJ experiment