Expert-level detection of pathologies from unannotated chest X-ray images via self-supervised learning