Enviar por SMS: Necessary and sufficient conditions for the fractional calculus of variations with Caputo derivatives