Type Ia Supernovae: Influence of the Initial Composition on the Nucleosynthesis, Light Curves, and Spectra and Consequences for the Determination of ΩM and Λ