Low-cost ‘smart window’ coating switches quickly from clear to opaque