Quantifying habitat structure: surface convolution and living space for species in complex environments.