A couple have been jailed for causing or allowing the death of their three-year-old son after forcing him to endure an "extreme" vegan diet.