Place-cell capacity and volatility with grid-like inputs