An effective Hamiltonian‐based method for mixed quantum‐classical dynamics on coupled electronic surfaces