p-adic properties of values of the modular j-function