Explain the difference between L1 (Lasso) and L2 (Ridge) regularization and when you would apply them.