Trump warns legal action against late mail-in-ballots