Near-optimal tuning of trichromatic vision for constant surface identification in natural scenes