Analysis of FGM beams by means of a unifiedformulation