A Unifying Framework for Imputing Summary Statistics in Genome-Wide Association Studies