Former Wimbledon champion Garbine Muguruza confirms her retirement from tennis at the age of 30.