Real-space renormalization for structural phase transitions in the Ising universality class