Best schools must take on worst pupils