Second-order Jahn-Teller effect of cyclobutadiene in low-lying states. An MCSCF study