MHD simulations of the in situ generation of kink and sausage waves in the solar corona by collision of dense plasma clumps