Girls secure top positions in matric exam