On the Bilinear Equations for Fredholm Determinants Appearing in Random Matrices