Offline RL with Observation Histories: Analyzing and Improving Sample Complexity