LLM Bias Detection and Mitigation through the Lens of Desired Distributions