Brooklyn Community Foundation President Marilyn Gelber to leave in June