Texans to sign Matt McGloin as backup quarterback