Effects of W and Ti on the grain size and coercivity of Fe50Pt50 thin films