Towards a universal law of tree morphology by combining fractal geometry and statidtical physics