ASB Bank takes NZ$845 million in joint offering