Detection problems in the spiked matrix models