Hubble detects methane on distant planet