Woody vegetation and canopy fragmentation along a forest-to-urban gradient