Australia, NZ dollars boosted by data, market optimism