Semiclassical atom theory applied to solid-state physics