Director mines his own tale in new film 'Beginners'