Spanish banking giant Santander has faced criticism for its investment in Polish state-run energy group PGE and Energa Group.