Free topological groups and the projective dimension of a locally compact abelian group