The chemical composition of red giants in 47 Tucanae I: Fundamental parameters and chemical abundance patterns