All-versus-nothing nonlocality for two photons from different sources