how the immune system affects weight