Explain the use of Go's io packages for reading and writing data?