A Shannon entropy approach to the temporal evolution of SEP energy spectrum