A BGO scintillating bolometer for γ and α spectroscopy