Observation of the decay B0 -> rho+ rho- and measurement of the branching fraction and polarization