Stabilizing skyrmions by nonuniform strain in ferromagnetic thin films without a magnetic field