On the mechanism of formation of asymmetric ultra- and hyper-filtration membranes