The human visual system is optimised for discriminating the spatial structure of scenes with natural second-order statistics