Timber portal frames with moment resisting nailed joints