Enhanced transmission of electromagnetic waves through metamaterials