Effect of pressure on structural, elastic and mechanical properties of cubic perovskites XCoO3 (X = Nd, Pr) from first-principles investigations