Iran has accused the US of a war crime after officials said a missile strike killed four people, including two children, at a wedding celebration.