Control of critical coupling in 3x3 MMI couplers based on optical micro-ring resonators and applications to selective wavelength switching, modulation, amplification and oscillation