Theory of Stellar Oscillations