Tuning the Synthetic Parameters to Obtain Smart C-N Co-Doped Titania Photocatalysts for NOx Abatement