A method for the analysis of amplified nucleic acids