Photo-excited and doping-induced electronic states in a poly (para-phenylene)-type ladder polymer