Incomplete exponential sums and incomplete residue systems for congruences