A Hardy–Ramanujan–Rademacher-type formula for (r,s)-regular partitions