The agar precipitation technique and its application as a diagnostic and analytical method