Serena bags world number one year-end crown for third time