Crystal to Quasicrystal Surface Phase Transition: An Unlocking Mechanism for Templated Growth