Investigation of the photoactivity of pristine and mixed phase N-doped titania under visible and solar irradiation