Using police cells to detain people with mental illness to be banned under new reforms