Linear Degree Extractors and the Inapproximability of Max Clique and Chromatic Number