The Ynys Hir nature reserve project will also provide flood protection