Structure and magnetic properties of sputtered FePtM (M = Ti, Nb) thin films