Spatial characteristics of habitat patches and population survival