Origin of orthorhombic transition, magnetic transition, and shear-modulus softening in iron pnictide superconductors: Analysis based on the orbital fluctuations theory