Legal design of regulating experimentation towards innovation (for sustainability). Some legal theory applied to examples from energy and telecommunication law