Applications of FLUKA Monte Carlo code for nuclear and accelerator physics