The Democratic Republic of Congo's President Joseph Kabila has appeared on state television, saying the government was "in place", hours after an apparent coup attempt by members of the presidential guards failed.