Man gets 10 years for Encinitas arson spree