Simultaneous equations with random coefficients: estimating the structural form