The GW approximation of Hedin's equations