Prediction of structural, electronic and elastic properties of Y2Ti2O7 and Y2TiO5