Simultaneous softening of acoustic and optical modes in cubic PbTiO 3