Huge magnetoresistance and Shubnikov–de Hass effect in graphite