ESR study of the electronic structures of metallofullerenes: a comparison between lanthanum fullerene (La@C82) and scandium fullerene (Sc@C82)