A measure of association for spatial variables