Estimation of the canopy-gap size using two photographs taken at different heights