Mitsubishi Motors has reported its first profits for four years.