A murder investigation has been launched after one man died and two other people were injured in an incident in York.