Describe the differences between escaping and non-escaping closures in Swift for Samsung Electronics iOS development.