Ramil - even native English speakers don't agree on this one.....

Look here:

http://www.worldwidewords.org/articles/psandqs.htm

I always heard the "pints and quarts" explanation myself.....