Twisting measurement and compensation of optical shape sensor based on spun multicore fiber