Envelope instability in low-energy proton synchrotrons