Hamas hails UN resolution condemning Israeli occupation