Giancarlo Stanton thinks Home Run Derby helped him break out of slump