An approximate method for fatigue-life prediction of framed structures