Two Los Angeles police officers who lost their jobs because they were out catching Pokémon instead of robbers have failed to overturn the city's decision to fire them at a California court of appeals.