Best-of-Both-Worlds Algorithms for Linear Contextual Bandits