how to calculate ordering cost in eoq