Pleiotropy across academic subjects at the end of compulsory education