Racial discrimination in the housing market has been quantified in a new government study.