City gets $2 million grant to help reduce jail population