Analysis of amplification mechanisms and cross-frequency interactions in nonlinear flows via the harmonic resolvent