Detection of glycolaldehyde toward the solar-type protostar NGC 1333 IRAS2A