Habits and rational behaviour in residential electricity demand