Basis set superposition error effects, excited-state potential energy surface and photodynamics of thymine