Framework for an Intelligent Affect Aware Smart Home Environment for Elderly People