N-doped TiO2 semiconductor nanoparticles. Bulk, surface and electrochemical features