The nucleation and suppression of transformation twinning in barium sodium niobate