Development of rigid toughened photocurable epoxy foams