Sajid Javid says two parties claimed to have taken place on the eve of Prince Philip's funeral were "unacceptable" and "wrong in every way", adding that those involved must be "disciplined".