Multiferroicity in vanadium-doped La2Ti2O7: insights from first principles