Tempered and Hadamard-Type Fractional Calculus with Respect to Functions