Cosmic evolution of FRI and FRII sources out to z = 2.5