MOSCOW — A Moscow judge handed down stiff prison sentences of two years on Friday afternoon for three young women who staged a protest against Vladimir V. Putin in the Cathedral of Christ the Savior last February and whose jailing and trial on hooliganism charges have generated worldwide criticism of constraints on political speech in Russia.