Second order accurate calculation of transonic flow over turbomachinery cascades