Explicit relations between primes in short intervals and exponential sums over primes