Beurling zeta functions