On the ground state of quantum layers