A new photography exhibition chronicles the stories of our seaside towns, their rise, fall and recent recovery.