Mechanical analogy between the second-order Schrödinger equation without potential for the case of a particle in an ideal infinite well with the fourth-order Schrödinger equation in connection with the potential manifestation of negative mass in Bose–Einstein condensates and exciton–polaritons in cavity