Solid- and solution-phase synthesis of bioactive dihydropyrimidines