Convergence of blockchain and IoT for Managing Decentralized Medical Records