Explicit relations between pair correlation of zeros and primes in short intervals