Giant anisotropy of the magnetoresistance and the ‘spin valve’ effect in antiferromagnetic Nd2−xCexCuO4