when did the pennsylvania colony became a state