Investigation of third-order optical nonlinearity in KBe2BO3F2 crystal by Z-scan