Characterization of the size-dependent optical properties of p-terphenyl nanocrystals