Girls' skirts 'inspected at school'