What factors determine the optimal temperature for bacterial sterilization?