England's Alastair Cook scored his 30th Test century