Relativistic Effects in Earth Based and Cosmic Long Baseline Interferometry