James Tredwell announces his retirement from all forms of the game