Boeing logs record deliveries for 2017, upbeat on 2018