Slovenia's Jan Polanc calims stage five of the Giro d'Italia as Alberto Contador takes the overall lead.