L-functions of twisted exponential sums over finite fields