Real-Time Perception and Mixed-Integer Footstep Control for Underactuated Bipedal Walking on Rough Terrain