Light quark masses and pseudoscalar decay constants from Nf=2 lattice QCD with twisted mass fermions