Electrical control of singlet-triplet entanglement in lateral quantum dot molecules