In-Context Learning of Linear Dynamical Systems with Transformers: Error Bounds and Depth-Separation