Nonlinear theory of electromagnetic wave generation and amplification based on the anomolous Doppler effect