Hamas says Gaza conflict, U.N. recognition go together