Control of homoclinic bifurcation of a nonlinear thermoelastic electrodynamically actuated microbeam