Relative contributions of weather systems to mean and extreme global precipitation