Structural, magnetic, electronic and optical properties of cubic rare-earth vanadate perovskites PrVO3 and NdVO3: insights from GGA potentials