Scaling from individual trees to forests in an Earth system modeling framework using a mathematically tractable model of height-structured competition