Hundreds attend gay march amid heavy security