Factors influencing the rate of formation of tree‐related microhabitats and implications for biodiversity conservation and forest management