The Newton stratification of Shimura varieties