A wireless sensor network for fat and hydration monitoring by bioimpedance analysis