Sharapova downs Bencic in titanic struggle