Bulgeless galaxies in the COSMOS field: environment and star formation evolution at z < 1