Solvent-Engineering Method to Deposit Compact Bismuth-Based Thin Films: Mechanism and Application to Photovoltaics