Opposition leader Alexei Navalny has been released from prison after serving a 15-day sentence for distributing leaflets for an opposition rally on the subway.