Orientation and Mg Incorporation of Calcite Grown on Functionalized Self-Assembled Monolayers: A Synchrotron X-ray Study