Resampling data from daily to monthly returns