Explain the difference between a shallow copy and a deep copy using a nested list example.