UN monitor on Palestinian territories quits over lack of access