Analogue of electromagnetically induced transparency in a terahertz metamaterial