Cosmic rays studies with the PAMELA space experiment