how did hamlet cause ophelia's death