Asymptotics of the ground state energy for atoms and molecules in the self-generated magnetic field