Computational studies of the structures and properties of microporous materials