On the nature of phase transitions in covalent liquids : a numerical study of phosphorus and carbon / Luca Massimiliano Ghiringhelli