A local quasicontinuum method for 3D multilattice crystalline materials: Application to shape-memory alloys