African rhino populations have rebounded for the first time since 2012 despite poaching and habitat loss, new figures show.