Search for GUT magnetic monopoles and nuclearites with the MACRO experiment