Officials in Bangladesh moved about 500,000 people to temporary shelters after they left their homes to escape huge tidal waves churned by winds up to 100 kph (60 mph).