What buoyancy really is. A generalized Archimedes' principle for sedimentation and ultracentrifugation