Modelling environmental and cognitive factors to predict performance in a stressful training scenario on a naval ship simulator