US sentences mosque arsonist to 5 years