Size-depth-alternation tradeoffs for circuits