Maine trails many states in reducing foreclosures to pre-recession levels