Information capacity of a perceptron