The monarchy and their households are returning to official duties as the period of royal mourning in memory of the late Queen ends.