A study of the electronic properties of Au nanowires and Au nanoislands on Au(111) surfaces