Additive preservers of idempotence and Jordan homorphisms between rings of square matrices