Cyprus upends bank capital structure