Bank Branches as Smart Environments: Introducing a Cognitive Protection System to Manage Security and Safety