Mode coupling in nanomechanical string resonators