Mott insulator–high Tc bipolaronic superconductor transition in cuprates