Worldline approach to vector and antisymmetric tensor fields