Police: Dog critically stabbed by attempted burglar