Starbucks has suddenly replaced its chief executive after the company suffered a bigger-than-expected drop in sales.