UK coastal species such as puffins and little terns could be "seriously affected" by erosion and climate change, the National Trust has said.