Maximum entropy models provide functional connectivity estimates in neural networks