Lewis Hamilton has revealed that a neck injury sustained early last year affected his debut season with Ferrari.