Host–parasite interactions between the local and the mean-field: How and when does spatial population structure matter?