Strain effect on the electronic spectrum of graphene: beyond two-dimensionality