Studies of the Martian bow shock response to the variation of the magnetosphere dimensions according to TAUS and MAGMA measurements aboard the Phobos 2 orbiter