Kylian Mbappé scored twice to tie Lionel Messi with six World Cup goals as France beat Sweden 3-0 to reach the Round of 16.