Child care experts say it’s dangerous for infants to sleep in bed with their parents. Now, researchers say “baby boxes” and education can reduce the practice.