Successive magnetic phase transitions and multiferroicity in the spin-one triangular-lattice antiferromagnet Ba3NiNb2O9