General analysis of instabilities and oscillations of the sequential tunneling in superlattices