The surface segregation of Ti–Nb composite film and its application to a smart getter material