On the distribution of the major index on standard Young tableaux