When was the Portsmouth Naval Yard judged to be within the state of Maine?