Fossils of possibly the earliest backboned four-legged animals to walk have been found in Scotland.