Short-run cost curves in perfect competition