Frequency effects on lift and drag for flow past an oscillating cylinder