Spontaneous Scalarization of Black Holes and Compact Stars from a Gauss-Bonnet Coupling.