Police in Monaco and France are hunting for a suspect seen leaving an explosive device at a residential building.