Engineering failure analysis of corroded R.C. beams in flexure and shear