Nanoindentation and nanoscratching studies of amorphous carbon films