Wales centre Scott Williams has been ruled out for the remainder of the Six Nations with a shoulder injury.