Finn Pratt retires as Environment Department secretary