Consequences of Tuning Rare-Earth RE3+-Site and Exchange–Correlation Energy U on the Optoelectronic, Mechanical, and Thermoelectronic Properties of Cubic Manganite Perovskites REMnO3 for Spintronics and Optoelectronics Applications