How do patients gain weight with restricted diets?