Increasing klystron efficiency using COM and BAC tuning and application to the 5045 klystron