Manipulation of two-electron states by the electric field in stacked self-assembled dots