Lanthanide-incorporated metal nitrides with tunable work function and good thermal stability for NMOSdevices