Electrostatic wave excitation in planetary magnetospheres: Application to Neptune