Explain the mathematical difference between L1 and L2 regularization and how they influence feature selection.