Grain size distribution in thin films—1. Conservative systems