An analytical model of rainfall interception by forests