A new proof of the global Torelli theorem for K3 surfaces