Search for lightly ionizing particles with the MACRO detector