Adverts for products that claim to help babies sleep could be putting them at risk of serious harm or death, a watchdog has warned.