Stability estimation in YBCO by stepwise XRD and kinetic studies through TGA