On ergodic impulsive control problems