Danish court sentences inventor to life for woman's murder in 'submarine case'