how do rocks such as li ne and marble form