Interfacial Effects in Lithium and Sodium Batteries