Fine-Tuned LLMs are "Time Capsules" for Tracking Societal Bias Through Books