Invariant metrics on free topological groups