Temporal aggregation and the power of tests for a unit root