Rising sea 'will pose threat to Dunedin'