Frequency propagation: Multi-mechanism learning in nonlinear physical networks