Parametric inference for discrete observations of diffusions with random effects in the drift and in the diffusion coefficient