States and representations of partial *-algebras