Microbial granulation for lactic acid production