Properties of nanocones formed on a surface of semiconductors by laser radiation: quantum confinement effect of electrons, phonons, and excitons