An Optimized Consortium Blockchain for Medical Information Sharing