Palestinian and Israeli leaders condemn mosque attack