Elasticity solution of functionally graded beams with consideration of the flexoelectric effect