Chipmaker STMicroelectronics beats estimates, lifts 2022 outlook