Electromagnetic amplification of microwave phonons in nonlinear resonant microcavities