Free-space optical neural network based on thermal atomic nonlinearity