Electroweak precision observables and Higgs-boson signal strengths in the Standard Model and beyond: present and future