Discoveries by the Palomar Transient Factory