Stability analysis of the marching-on-in-time boundary element method for electromagnetics