Surface analysis of functionalized substrates for the nucleation and crystallization of pharmaceutical molecules