Theoretical analysis of the measurement precision in particle image velocimetry