Bubbles in planetary nebulae and clusters of galaxies: instabilities at bubble’ fronts