Planar terahertz metamaterials for strain sensing