Teen confesses to stabbing girlfriend to death on hiking trail