Photometric properties and origin of bulges in SB0 galaxies