Antifolate and antibacterial activities of 5-substituted 2,4-diaminoquinazolines.