Online pharmacies have been banned from promoting weight loss drugs to the public in a crackdown by the advertising watchdog.