Certain Logarithmically N-Alternating Monotonic Functions Involving Gamma and q-Gamma Functions