when melted rocks cool, _______________ rocks form