Recent advances and applications of random lasers and random fiber lasers