A simple optimized foam generator and a study on peculiar aspects concerning foams and foamed concrete