Variable-displacement piston pumps