A production planning model for an unreliable production facility: Case of finite horizon and single demand