Two Muslim boys in Switzerland have declined, on religious grounds, to handshake with their female teachers.