Improved semiconductor memory device having memory cells which are connected to a ground line