The government borrowed £303bn in the year to March, reflecting the cost of measures to support the economy.