Pet medications pose a threat to kids, study says