Layered architecture for internet of things-based healthcare system : a systematic literature review