Factors affecting the occurrence of microhabitats in unmanaged forests