Energy analysis for the connection of the nuclear reactor DEMO to the European electrical grid