Williams' try boosts Ospreys