Promotion chasing Nottingham Forest have signed Southampton defender Danny Fox on loan until the end of the season.