Thailand's prime minister has reassured the country that Crown Prince Maha Vajiralongkorn will succeed his late father and be crowned king after a royal funeral, which is likely to take months to prepare.