Reinforcement Learning From Static Datasets: Algorithms, Analysis, And Applications