Optical methods for studying cell mechanics