Structural, vibrational, and magnetic properties of self-assembled CoPt nanoalloys embedded in SrTiO3