A robust and computationally efficient finite element framework for coupled electromechanics