Robot dog taught itself to get back up when people kick it over