added code to use piecewise regression and package segmented to estimate the bounds on migration and breeding dates