Langlands duality for Hitchin systems