Usain Bolt won the 100 metres title at the World Athletics Championships in Moscow in a time of 9.77 seconds.