Gamma-ray astronomy with ARGO-YBJ