Convection and electrovortex flow in liquid metal batteries