Phonon and electron anomalies in the perovskite superconductor (La1.85Sr0.15)Cu0.95Sn0.05O4