Romania's government has given the green light for the construction of a 1.5-gigawatt (GW) solar panel factory.