Knee of the cosmic hydrogen and helium spectrum below 1 PeV measured by ARGO-YBJ and a Cherenkov telescope of LHAASO