Quantum phases of correlated electrons in artificial molecules under magnetic fields