derivation of aggregate supply curve in classical model