Statistical mechanical models for liquid and amorphous structure in covalently bonded systems