Phase transition and nano-mechanical properties of directionally solidified Sn–Co peritectic alloy