Two Unifil bases were hit by rocket fire and a patrol was shot at, the UN force says, condemning the incidents.