Bulgarian up-and-comer Grigor Dimitrov beat Andy Murray, ending his hopes for a second Wimbledon title.