Internet of Medical Things-Based Secure and Energy-Efficient Framework for Health Care