Nanometer-Thin Stacks of MXenes (Ti3C2Tx and Ta4C3Tx) for Applications as Nonlinear Photonic Devices