Calculation of Stress-Strain Curve of Two-Phase Microstructure on the Basis of the Extended Secant Method