Two companies have been fined a total of £1.3million following the death of a scaffolder who was just weeks away from his wedding day.