At least 52 people have been killed and 80 injured in what is believed to have been the biggest-ever factory fire in Bangladesh.