Holyrood backs general principles of Bill to ban smacking