Relations connecting the real and imaginary parts of any complex function that is analytic in the upper half-plane