Former Methuen police chief pleads guilty to fraud, perjury