Modelling of tree fires and fires transitioning from the forest floor to the canopy with a physics-based model