Mushfiqur century guides Bangladesh to take lead over Sri Lanka