Zeta-integrals and transformation formulas for certain Dirichlet series