Interferometry using spinor Bose-Einstein condensates