The maximal D = 4 supergravities