Chiral phase transition in the SU(3) Nambu and Jona-Lasinio model