Study of the influence of mechanical stress on the phase transition in KH3(SeO3)2 and KD3(SeO3)2