Frictional properties of diamond-like carbon, glassy carbon and nitrides with femtosecond-laser-induced nanostructure