Privacy Challenges in Ambient Intelligence Systems: Lessons Learned, Gaps and Perspectives