Vortex dynamics in superfluids and the Berry phase