Welsh and Scottish governments criticise “unwelcome and unnecessary” plans to drop Human Rights Act