Funerals have taken place for two Palestinian teenagers who local officials say were killed by Israeli settlers and soldiers in an attack on their village in the occupied West Bank on Wednesday.