Hartford ranks among the worst state capitals to live in