Rigid-flexible multilayer circuits comprising rigid and flexible layers