Theory of Microwave Instability and Coherent Synchrotron Radiation in Electron Storage Rings