Six people were killed and eight injured after gunmen opened fire in a Quebec City mosque during evening prayers.