The Effects of Population Size Histories on Estimates of Selection Coefficients from Time-Series Genetic Data