Retired footballer Rio Ferdinand has been banned from driving for six months after a speeding conviction.