Estimation of flexible needle deflection in layered soft tissues with different elastic moduli