Energy-optimized local exchange-correlation kernel for the electron gas: Application to van der Waals forces