Martin and Floyd boundaries of finitely generated groups