Storage capacity of two-dimensional neural networks.