Energy import costs in a flexible input-output price model