Soft modes in strained and unstrained rutile TiO2