Sheffield United have confirmed the signing of striker Marlon King on a contract until the end of the season.