5-dimensional braneworld with gravitating Nambu–Goto matching conditions