Modeling of hydrogen transport and elastically accommodated hydride formation near a crack tip