Thousands of mourners gathered to pay their respects to the family of Alton Sterling, a black man who was shot and killed by white police officers in the US state of Louisiana.