Tasman flood recovery expected to take two years, cost $50m