Configurations, band structures and photocurrent responses of 4-(4-oxopyridin-1(4H)-yl)phthalic acid and its metal-organic frameworks