Hamilton nearly crashes into barrier and drifts off the track in European GP practice