Crystal pressure of pharmaceuticals in nanoscale pores