Read count-based method for high-throughput allelic genotyping of transposable elements and structural variants