Solvency and regulation of banks theoretical and practical implications