The Thames Barrier, designed to protect London from flooding, is officially opened by Queen Elizabeth II.