Morphology and electronic structure of platinum-containing polymer nanosystems