Precisely measuring the Planck constant by electromechanical balances