On the Hurwitz zeta function with an application to the beta-exponential distribution