Government to uphold and act on recent referendum result to leave EU