Ab initio study of excited-state intramolecular proton dislocation in salicylic acid